<template>
    <div class="search">
        <el-divider content-position="left">
            <h2>次元搜索</h2>
        </el-divider>
        <el-form>
            <el-form-item>
                <el-input v-model="input" @input="search" :prefix-icon="Search" placeholder="搜索" />
                <el-select v-model="value" class="m-2" placeholder="类型">
                    <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
                </el-select>
            </el-form-item>
        </el-form>
    </div>
</template>

<script setup>
import { Search } from '@element-plus/icons-vue'

// 搜索内容
const input = ref('');
// 筛选
const value = ref('')
const options = [
    { value: '动漫', label: '动漫' },
    { value: '漫画', label: '漫画' },
    { value: '游戏', label: '游戏' },
    { value: '帖子', label: '帖子' }
]

const search = () => {

}
</script>

<style scoped>
.search {

}

</style>
